package by.kenjmark.myfood.domain.goods;

import java.util.Date;
import java.util.Set;

import by.kenjmark.myfood.domain.seller.Seller;
import by.kenjmark.myfood.domain.status.GoodsStatus;

public class Goods {

	private Integer id;
	private String title;
	private String description;
	private Set<GoodsComposition> compositions;
	private Set<GoodsCost> costs;
	private GoodsCategory category;
	private GoodsGroup group;
	private Set<GoodsRating> rating;
	private Set<Seller> seller;
	private String barCode;
	// for producer country, company producer and other properties that can be useful in search
	private Set<GoodsCustomProperty> properties;
	private Set<GoodsDiscount> discount;
	private GoodsStatus status;
	private Date produceStartDate;
	private Date produceEndDate;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<GoodsComposition> getCompositions() {
		return compositions;
	}

	public void setCompositions(Set<GoodsComposition> compositions) {
		this.compositions = compositions;
	}

	public Set<GoodsCost> getCosts() {
		return costs;
	}

	public void setCosts(Set<GoodsCost> costs) {
		this.costs = costs;
	}

	public GoodsCategory getCategory() {
		return category;
	}

	public void setCategory(GoodsCategory category) {
		this.category = category;
	}

	public GoodsGroup getGroup() {
		return group;
	}

	public void setGroup(GoodsGroup group) {
		this.group = group;
	}

	public Set<GoodsRating> getRating() {
		return rating;
	}

	public void setRating(Set<GoodsRating> rating) {
		this.rating = rating;
	}

	public Set<Seller> getSeller() {
		return seller;
	}

	public void setSeller(Set<Seller> seller) {
		this.seller = seller;
	}

	public String getBarCode() {
		return barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}

	public Set<GoodsCustomProperty> getProperties() {
		return properties;
	}

	public void setProperties(Set<GoodsCustomProperty> properties) {
		this.properties = properties;
	}

	public Set<GoodsDiscount> getDiscount() {
		return discount;
	}

	public void setDiscount(Set<GoodsDiscount> discount) {
		this.discount = discount;
	}

	public GoodsStatus getStatus() {
		return status;
	}

	public void setStatus(GoodsStatus status) {
		this.status = status;
	}

}
